package cn.powertime.evaluation.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebReqCourseSearchVo implements Serializable {

    @ApiModelProperty(value="查询条件（课程名称）",name="courseName")
    private String courseName;
    @ApiModelProperty(value="课程类型 1:成为测评师,2:测评师训练场",name="type")
    @NotNull(message = "查询类型不能为空")
    @Min(value = 1,message = "type最小为1")
    @Max(value = 2,message = "type最大为2")
    private Integer type;

}
